#pragma once

#include "SDL.h"
#include "SDL_thread.h"

class ZumaThread {

	/*----------------Atributos-------------------------*/

private: SDL_Thread *thread;

private: void *data;

		 /*--------------Constructores----------------------*/	

public: ZumaThread();

public: ZumaThread(int (SDLCALL *fn)(void *),void *data);

		/*-------------Metodos------------------------------*/	

public: void runForest();

private: int (SDLCALL *threadFunction)(void *);

public: void setData(void *data);

		/*-----------------Destructor-----------------------*/	

public: virtual ~ZumaThread();

};
